If you have written a script that provides a useful purpose, it's often
nice to have some indication given to the user that something is happening.
This can be either by audible or visual means.
Audible feedback in ARexx with Opus is only possible by using the command
command to call the internal audio commands.
Visual feedback through Opus can be in the form of:
- changing the state of the lister, (for example, SRCE -> OFF)
- changing the lister header or title.
See lister set for examples of the two above.
- changing the Desktop somehow, (see dopus set for this).
- progress bars.
- opening a viewer.
These two are the one's we will deal with here since Opus provides commands
to directly implement them.
dopus read
This command allows you to call the dopus viewer , a text reader that can
be used for displaying files in ASCII, ANSI or HEX. It could be used for the
displaying of an intermediate result/file or the final output.
dopus progress
dopus progress will open a progress bar in the middle of the Opus screen.
lister progress
lister newprogress
These two commands will both open progress bars over a nominated lister,
the difference being that the lister newprogress version allows you have
more information in the progress bar window.
|